#pragma once

typedef signed char INT8;
typedef signed short INT16;
typedef signed int INT32;

namespace OS {
	struct ColorIndex {
		static const int color_scrollbar = COLOR_SCROLLBAR;
		static const int color_background = COLOR_BACKGROUND;
		static const int color_activecaption = COLOR_ACTIVECAPTION;
		static const int color_inactivecaption = COLOR_INACTIVECAPTION;
		static const int color_menu = COLOR_MENU;
		static const int color_window = COLOR_WINDOW;
		static const int color_windowframe = COLOR_WINDOWFRAME;
		static const int color_menutext = COLOR_MENUTEXT;
		static const int color_windowtext =  COLOR_WINDOWTEXT;
		static const int color_captiontext =  COLOR_CAPTIONTEXT;
		static const int color_activeborder =  COLOR_ACTIVEBORDER;
		static const int color_inactiveborder =  COLOR_INACTIVEBORDER;
		static const int color_appworkspace =  COLOR_APPWORKSPACE;
		static const int color_highlight =  COLOR_HIGHLIGHT;
		static const int color_highlighttext =  COLOR_HIGHLIGHTTEXT;
		static const int color_btnface =  COLOR_BTNFACE;
		static const int color_btnshadow =  COLOR_BTNSHADOW;
		static const int color_graytext =  COLOR_GRAYTEXT;
		static const int color_btntext =  COLOR_BTNTEXT;
		static const int color_inactivecaptiontext =  COLOR_INACTIVECAPTIONTEXT;
		static const int color_btnhighlight =  COLOR_BTNHIGHLIGHT;
		static const int color_3ddkshadow =  COLOR_3DDKSHADOW;
		static const int color_3dlight =  COLOR_3DLIGHT;
		static const int color_infotext =  COLOR_INFOTEXT;
		static const int color_infobk =  COLOR_INFOBK;
		static const int color_hotlight =  COLOR_HOTLIGHT;
		static const int color_gradientactivecaption =  COLOR_GRADIENTACTIVECAPTION;
		static const int color_gradientinactivecaption =  COLOR_GRADIENTINACTIVECAPTION;
		static const int color_menuhilight =  COLOR_MENUHILIGHT;
		static const int color_menubar =  COLOR_MENUBAR;
		static const int color_desktop =  COLOR_DESKTOP;
		static const int color_3dface =  COLOR_3DFACE;
		static const int color_3dshadow =  COLOR_3DSHADOW;
		static const int color_3dhighlight =  COLOR_3DHIGHLIGHT;
		static const int color_3dhilight =  COLOR_3DHILIGHT;
		static const int color_btnhilight =  COLOR_BTNHILIGHT;
	};

	//mill seconds
	long GetTimeTick();
	void DelFont( INT32 font );
	INT32 GetSystemColor( int index );

};